/*
 * @Author: czy
 * @Date: 2021-04-24 08:26:11
 * @LastEditTime: 2021-04-24 16:20:49
 */
#include "io.h"

/**
 * @description: Initialization PIC.
 */
void init8259A(void)
{
    outb(0x20, 0x11);
    outb(0x21, 0x20);
    outb(0x21, 0x04);
    outb(0x21, 0x3);
}